package cn.xiaopengstack.domain.trade.model.entity;

import cn.xiaopengstack.domain.trade.model.valobj.GroupBuyOrderListStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 拼团营销订单实体
 * @author jiangyangang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MarketOrderEntity {
    /**
     * 用户ID
     */
    private String userId;

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 外部单号
     */
    private String outOrderNo;

    /**
     * 原始价格
     */
    private BigDecimal originalPrice;

    /**
     * 优惠价格
     */
    private BigDecimal deductionPrice;


    /**
     * 活动ID
     */
    private Long activityId;

    /**
     * 拼团单状态
     */
    private GroupBuyOrderListStatusEnum statusEnum;

    /**
     * 组队ID
     */
    private String teamId;
}
